package cn.getech.data.development.mapper;

import cn.getech.data.development.entity.RealtimeResourceEntity;
import cn.getech.data.development.model.res.realtimeresource.RealtimeResourceListRes;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 实时资源管理
 * 
 * @author qiuxinglei
 * @email qiuxinglei@gmail.com
 * @date 2020-09-02 11:14:22
 */
@Mapper
public interface RealtimeResourceMapper extends BaseMapper<RealtimeResourceEntity> {
	List<RealtimeResourceListRes> listBy(Map<String,Object> map);
	Integer listByCount(Map<String,Object> map);

    Integer isJobUse(@Param("id") Long id);
}
